local thbattle__tewi_xingyun = fk.CreateSkill {

  name = "thbattle__tewi_xingyun",

  tags = { Skill.Compulsory, },

}



thbattle__tewi_xingyun:addEffect(fk.AfterCardsMove, {
  anim_type = "drawcard",
  can_trigger = function(self, event, target, player, data)
    if not player:hasSkill(thbattle__tewi_xingyun.name) then return end
    if not player:isKongcheng() then return end
    for _, move in ipairs(data) do
      if move.from == player then
        for _, info in ipairs(move.moveInfo) do
          if info.fromArea == Card.PlayerHand then
            return true
          end
        end
      end
    end
  end,
  on_use = function(self, event, target, player, data)
    player:drawCards(2, thbattle__tewi_xingyun.name)
  end,
})

return thbattle__tewi_xingyun